db2bded71718de3cefb0a9843d42e08ebd3a67ce,groovy-language-server/src/test/java/com/palantir/ls/groovy/services/GroovyWorkspaceServiceTest.java,GroovyWorkspaceServiceTest,setup,#,66
Before Change
public void setup() throws IOException {
MockitoAnnotations.initMocks(this);
expectedDiagnostics.add(new DefaultDiagnosticBuilder("Some message", DiagnosticSeverity.Error).build());
expectedDiagnostics.add(new DefaultDiagnosticBuilder("Some other message", DiagnosticSeverity.Warning).build());
Set<Diagnostic> diagnostics = Sets.newHashSet(expectedDiagnostics);
After Change
expectedDiagnostics =
Sets.newHashSet(new PublishDiagnosticsParamsBuilder().uri("foo")
.diagnostic(new DefaultDiagnosticBuilder("Some message", DiagnosticSeverity.Error).build())
.diagnostic(
new DefaultDiagnosticBuilder("Some other message", DiagnosticSeverity.Warning).build())
.build());